import request from '@/utils/request'

// 查询赛季积分榜列表
export function listPoints_board_season(query) {
  return request({
    url: '/study/points_board_season/list',
    method: 'get',
    params: query
  })
}

// 查询赛季积分榜详细
export function getPoints_board_season(id) {
  return request({
    url: '/study/points_board_season/' + id,
    method: 'get'
  })
}

// 新增赛季积分榜
export function addPoints_board_season(data) {
  return request({
    url: '/study/points_board_season',
    method: 'post',
    data: data
  })
}

// 修改赛季积分榜
export function updatePoints_board_season(data) {
  return request({
    url: '/study/points_board_season',
    method: 'put',
    data: data
  })
}

// 删除赛季积分榜
export function delPoints_board_season(id) {
  return request({
    url: '/study/points_board_season/' + id,
    method: 'delete'
  })
}
